package com.orhon.smartcampus.modules.core.controller;


import com.orhon.smartcampus.modules.core.service.AuthData;
import com.orhon.smartcampus.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth")
public class AuController {



    @Autowired
    AuthData authData;

    @PostMapping("save")
    public R authSave(){
        authData.op();

        return R.ok();
    }


}
